package com.qiaofang.applet.service.other.service.mapstruct;

import com.qiaofang.applet.service.other.domain.LendingRates;
import com.qiaofang.applet.service.other.service.dto.LendingHistoricalDataDto;
import com.qiaofang.applet.service.other.service.dto.LendingRatesAdminDto;
import com.qiaofang.applet.service.other.service.dto.LendingRatesResultDto;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @Author: youqing.yang
 * @Create: 2020/11/13 11:47
 * @Description:
 **/
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface LendingRatesMapper {

    LendingRatesResultDto domainToDto(LendingRates LendingRates);

    LendingHistoricalDataDto domainToDtoForAdmin(LendingRates lendingRates);

    LendingRatesAdminDto domainToAdminDto(LendingRates lendingRates);

}
